package data;

public class Type extends Base{

	private String name;

	private Gender gender;

	private boolean isWeapon;

	public Type(String name, Gender gender, boolean w) {
		super();
		this.name = name;
		this.gender = gender;
		setWeapon(w);
	}
	
	public Type(String name, Gender gender) {
		super();
		this.name = name;
		this.gender = gender;
		setWeapon(false);
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Gender getGender() {
		return gender;
	}

	public void setGender(Gender gender) {
		this.gender = gender;
	}

	public boolean isWeapon() {
		return isWeapon;
	}

	public void setWeapon(boolean isWeapon) {
		this.isWeapon = isWeapon;
	}

	@Override
	public String getName(Gender g) {
		return name;
	}

	@Override
	public String getPrice() {
		return price;
	}

}
